/* config.h---
	 defination for hcnc config var

	Copyright (c) Hua Zhong CNC system Co. Ltd
	All Rights Reserved.
*/

#ifndef __HCNCCFG_H
#define __HCNCCFG_H

#if __STDC__
#define _Cdecl
#else
#define _Cdecl	cdecl
#endif

#ifndef __PAS__
#define _CType _Cdecl
#else
#define _CType pascal
#endif

#ifndef NULL
#if defined(__TINY__) || defined(__SMALL__) || defined(__MEDIUM__)
#define	NULL	0
#else
#define	NULL	0L
#endif
#endif

#include <stdio.h>
#include "datatype.h"


#ifndef PATH_SIZE
#define PATH_SIZE 128
#endif

#ifndef FILENAME_SIZE
#define FILENAME_SIZE 13
#endif

extern char *bin_path,*bmp_path;



#ifdef __cplusplus
extern "C" {
#endif


#ifdef __cplusplus
}
#endif

#endif
